# 导包
import requests

# 创建封装类
import app


class LoginAPI(object):

    def __init__(self):
        pass

    def login(self, jsonData):
        return requests.post(url=app.BASE_URL + "/api/sys/login",
                             headers=app.HEADERS,
                             json=jsonData)
